USE [aircond]
GO

/****** Object:  Table [dbo].[BUILDING]    Script Date: 03/15/2013 00:05:26 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[BUILDING](
	[BUILDING_ID] [numeric](19, 0) IDENTITY(1,1) NOT NULL,
	[createDate] [datetime] NULL,
	[createUser] [varchar](255) NULL,
	[updateDate] [datetime] NULL,
	[updateUser] [varchar](255) NULL,
	[version] [int] NOT NULL,
	[buildingName] [varchar](255) NULL,
	[buildingType] [varchar](255) NULL,
	[description] [varchar](255) NULL,
	[status] [varchar](255) NULL,
PRIMARY KEY CLUSTERED 
(
	[BUILDING_ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED 
(
	[buildingName] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

